<?php
// echo $this->Session->flash('auth');
// echo $this->Form->create('User', array('action' => 'login'));
// echo $this->Form->inputs(array(
    // 'legend' => __('Login', true),
    // 'username',
    // 'password'
// ));
// echo $this->Form->end('Login');
?>

<div class="span3" ></div>	
<div class="span6" >	
	<form  action='<?php echo $this->webroot;?>Users/login' method="post" id="form_login">
      <div class="hero-unit" id="login">
        <form action="<?php echo $this->webroot;?>Users/login" method="post">
          <div class="control-group">
            <label class="control-label">Username:</label>
            <div class="controls">
              <input type="text" name="data[User][username]" class="input-xxlarge input-block-level" style=""> 
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">Password:</label>
            <div class="controls">
              <input type="password" name="data[User][password]" class="input-block-level input-xxlarge"> 
            </div>
          </div>
          <p></p>
		  <button type="submit" class="btn btn-primary btn-block btn-large">
				<span class="btn-label"><?php echo __("Entra"); ?></span>
		  </button>
		  <a href='<?php echo $this->webroot;?>Users/register' class="btn btn-block btn-large" tabindex="-1" role="menuitem"><?php echo __("Registrati") ?></a>
		  <a href='<?php echo $this->webroot;?>Users/passwordDimenticata' class="btn btn-block btn-large" tabindex="-1" role="menuitem"><?php echo __("Hai dimenticato la password?") ?></a>
        </form>
      </div>
	</form>
</div>
<div class="span3" ></div>	
